PORTNAME=	gnome-online-accounts
PORTVERSION=	3.48.0
CATEGORIES=	net
MASTER_SITES=	GNOME

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Interface provider to access the user's online accounts
WWW=		https://wiki.gnome.org/Projects/GnomeOnlineAccounts/

LICENSE=	LGPL20+
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	docbook-xsl>=0:textproc/docbook-xsl
LIB_DEPENDS=	libwebkit2gtk-4.1.so:www/webkit2-gtk3 \
		libjson-glib-1.0.so:devel/json-glib \
		libsecret-1.so:security/libsecret \
		libsoup-3.0.so:devel/libsoup3 \
		librest-1.0.so:net/librest1 \
		libp11-kit.so:security/p11-kit \
		libgck-1.so:security/gcr \
		libdbus-1.so:devel/dbus

PORTSCOUT=	limitw:1,even

USES=		compiler:c++11-lib gettext gnome libtool \
		localbase meson pkgconfig tar:xz vala:build
USE_GNOME=	cairo glib20 gtk30 introspection:build libxml2 libxslt:build
USE_LDCONFIG=	yes

GLIB_SCHEMAS=	org.gnome.online-accounts.gschema.xml

MESON_ARGS+=	-Dkerberos=false

.include <bsd.port.mk>
